home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / DOCPROC1.ZIP;1 / SAMP-DOC.ZIP / TCOPY.DOC < prev    next >
Encoding:
Text File  |  1992-10-26  |  10.6 KB  |  135 lines

  1.                                                                                 
  2.                                                                                 
  3.                                                                                 
  4.                                                                                 
  5.                                                                                 
  6.                                                                                 
  7.                                                                                 
  8.                                                                                 
  9.                                                                                 
  10.                                                                                 
  11.                                                                                 
  12.                                                                                 
  13.                                                                                 
  14.                        *************************************                    
  15.                        *                                   *                    
  16.                        *            T C O P Y              *                    
  17.                        *  ON THE MVS/XA OPERATING SYSTEM   *                    
  18.                        *                                   *                    
  19.                        *************************************                    
  20.                                                                                 
  21.                                                                                 
  22.                                                                                 
  23.                                                                                 
  24.                                                                                 
  25.                                                                                 
  26.                                                                                 
  27.                                                                                 
  28.                                                                                 
  29.                                                                                 
  30.                                                                                 
  31.                                                                                 
  32.                                                                                 
  33.                                                                                 
  34.                                                                                 
  35.                                                                                 
  36.                                                                                 
  37.                                                                                 
  38.                                                                                 
  39.                                                                                 
  40.                                                                                 
  41.                                                                                 
  42.                                                                                 
  43.                                                                                 
  44.                                                                                 
  45.                                                                                 
  46.                                                                                 
  47.                                                                                 
  48.                                                                                 
  49.                                                                                 
  50.                                                                                 
  51.                                                                                 
  52.                                                                                 
  53.                                                         John S. Ward            
  54.                                                           03/15/93              
  55. EJECT                                                                           
  56.                                                                                 
  57. EJECT                                                                           
  58.       You can use the TCOPY procedure to copy the contents of one of            
  59.    your tapes on to another tape.  The output tape must already have been
  60.    initialized, and must have a valid external label.  Also, any  current
  61.    contents of the output tape will be written over by the contents of          
  62.    the input tape.                                                              
  63.                                                                                 
  64.       TCOPY can be used to copy the following kinds of tapes:                   
  65.                                                                                 
  66.       IBM standard labeled to IBM standard labeled  (SL to SL)                  
  67.       IBM standard labeled to nonlabeled  (SL to NL)                            
  68.       nonlabeled to nonlabeled  (NL to NL)                                      
  69.                                                                                 
  70.    TCOPY cannot copy nonlabeled (NL) tapes to standard labeled (SL) tapes.      
  71.                                                                                 
  72.       To execute TCOPY, include the following command in your JCL:              
  73.                                                                                 
  74.    //stepname  EXEC  TCOPY,VIN=iiiiii,VOUT=oooooo,DSN='first.data.set',         
  75.    //     LIN=labelin,LOUT=labelout,DENOUT=density,EXPDT=nnnnn                  
  76.                                                                                 
  77.    Where                                                                        
  78.                                                                                 
  79.       iiiiii...is the volume serial number of the input tape.                   
  80.       oooooo...is the volume serial number of the output tape.                  
  81.       'first.data.set'...is the name of the first data set on the input         
  82.          tape.  It must be enclosed in apostrophes.  If the tape is
  83.          nonlabeled, simply make up a name consisting of the userid and         
  84.          one or more qualifiers.                                                
  85.       labelin...is the type of internal label on the input tape: LIN=SL         
  86.          for IBM standard labeled tapes, or LIN=NL for nonlabeled tapes.        
  87.          The default is LIN=SL.                                                 
  88.       labelout...is the type of internal label on the output tape: LOUT=SL      
  89.          for IBM standard labeled tapes, or LOUT=NL for nonlabeled tapes.       
  90.          The default is LOUT=SL.                                                
  91.       density...is the number for the density of the output tape:               
  92.          DENOUT=3 for 1600 bits-per-inch tape, DENOUT=4 for 6250 bpi            
  93.          tapes.  The default is DENOUT=4.
  94.       nnnnn... is the expiration date of the output tape.  The default is
  95.          EXPDT=99000.  EXPDT=98000 is required to copy onto a private tape.
  96.                                                                                 
  97.       If you don't know the name of the first data set on the input tape,       
  98.    execute the procedure TINFO as follows:                                      
  99.                                                                                 
  100.    //stepname  EXEC  TINFO,VSN=vvvvvv                                           
  101.                                                                                 
  102.    Where vvvvvv is the volume serial number of the tape.  Look at the
  103.    output from the job, and the first data set will be the first on the         
  104.    list after the title TAPE DATA SET INFORMATION.                              
  105.                                                                                 
  106.       Remember to execute the VOLUP procedure before any job step             
  107.    requiring a tape, or, starting 02/03/86, your job will be cancelled.         
  108.    For more information on VOLUP, see SYS.MVS.UPDATE(VOLUP).  In the case
  109.    of TCOPY, you will need TWO VOLUP requests, one for each tape.
  110.                                                                                 
  111.       EXAMPLE: You want to copy the contents of a tape with a volser of         
  112.    123456 to a tape with a volser of ABCDEF, and you don't know the name        
  113.    of the first data set on tape 123456.  To find it out, you run a job
  114.    containing at least the following two steps:                                 
  115.                                                                                 
  116.    //step1  EXEC  VOLUP,VOLSER=123456,ACCESS=READ                               
  117.    //step2  EXEC  TINFO,VSN=123456                                              
  118.                                                                                 
  119.       You look down near the bottom of your job output (screen 3.8) and         
  120.    find that the name of the first data set is, say, ASDFJK.MINE.DATA.          
  121.    You use this information in the tape copy job, which will contain at         
  122.    least the three following steps:                                             
  123.                                                                                 
  124.    //step1  EXEC  VOLUP,VOLSER=123456,ACCESS=READ                               
  125.    //step2  EXEC  VOLUP,VOLSER=ABCDEF,ACCESS=WRITE                              
  126.    //step3  EXEC  TCOPY,VIN=123456,VOUT=ABCDEF,DSN='ASDFJK.MINE.DATA'           
  127.                                                                                 
  128.       If the external label on your output tape is ABCDEF, but the tape         
  129.    itself is nonlabeled, step3 in the above example would look like this:       
  130.                                                                                 
  131.    //step3  EXEC  TCOPY,VIN=123456,VOUT=ABCDEF,DSN=ASDFJK.MINE.DATA,            
  132.    //     LOUT=NL                                                               
  133.                                                                                 
  134.       If the volup request is granted, your tape will be copied.                
  135.